package com.zkt.recommend.application.convert;

import com.zkt.recommend.entity.RecommendUserPortraitDTO;
import com.zkt.recommend.domain.entity.RecommendUserPortraitBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2024/10/4
 * @description 用户做题记录的实体类型转换器
 **/

@Mapper
public interface RecommendUserPortraitDTOConverter {
	
	RecommendUserPortraitDTOConverter INSTANCE = Mappers.getMapper(RecommendUserPortraitDTOConverter.class);
	
	RecommendUserPortraitBO convertDtoToBo(RecommendUserPortraitDTO recommendUserPortraitDTO);
	
	List<RecommendUserPortraitDTO> convertBoToDtoList(List<RecommendUserPortraitBO> recommendUserPortraitBO);
}
